ubuntu-questing
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)
committerMatthias Klose <doko@debian.org>
Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)
commit 112ffe7c621e8bf145c5c5926e36f3af9e0fd045
Author: Sylvestre Ledru <sylvestre@debian.org>
Date:   Tue Apr 22 11:50:58 2025 +0200

    Add support of the next Ubuntu (Ubuntu 25.10 - Questing Quokka)

Gbp-Pq: Name ubuntu-questing.patch

clang/include/clang/Driver/Distro.h
clang/lib/Driver/Distro.cpp

index b4d485dac8a269dab8f888202b62284773e6c939..9f27c2baaeb477c18e3bd5f71eac6628e7c40886 100644 (file)
@@ -81,6 +81,7 @@ public:
     UbuntuNoble,
     UbuntuOracular,
     UbuntuPlucky,
+    UbuntuQuesting,
     UnknownDistro
   };
 
@@ -132,7 +133,7 @@ public:
   }
 
   bool IsUbuntu() const {
-    return DistroVal >= UbuntuHardy && DistroVal <= UbuntuPlucky;
+    return DistroVal >= UbuntuHardy && DistroVal <= UbuntuQuesting;
   }
 
   bool IsAlpineLinux() const { return DistroVal == AlpineLinux; }
index 3d1bce027f664d9dfd717e29af9641e3400e2652..2a35fd033db9b4b5dbb75bebdc1bf009293f20c4 100644 (file)
@@ -97,6 +97,7 @@ static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) {
                     .Case("noble", Distro::UbuntuNoble)
                     .Case("oracular", Distro::UbuntuOracular)
                     .Case("plucky", Distro::UbuntuPlucky)
+                    .Case("questing", Distro::UbuntuQuesting)
                     .Default(Distro::UnknownDistro);
   return Version;
 }